<%-- 
    Document   : EditUserInfo
    Created on : Apr 23, 2011, 1:20:43 AM
    Author     : lycdragon
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><bean:message key="welcome.title"/></title>
        <link rel="stylesheet" href="${pageContext.servletContext.contextPath}/css/template_css.css" media="screen"
              type="text/css" />
        <html:base/>
    </head>
    <body>
        <div class="container">
            <div class="header">
                <a href="#"><img src="${pageContext.servletContext.contextPath}/img/grlg.png" alt="Insert_logo" name="Insert_logo" width="180" height="90" id="Insert_logo" style="background: #C6D580; display:block;"></a>
            </div><!-- end .header -->
            <div class="content">

                <c:forEach  var="s" items="${editUser}">
                    <html:form action="editUserInfoAction" method="post">
                        <table width="625">
                            <tr>
                                <td width="70" >User ID</td><td><p>${s.id}</p></td>
                                <td width="70" ><html:hidden property="id" value="${s.id}" /></td>
                            </tr>
                            <tr>
                                <td width="70" >Username</td><td><html:text property="userName" value="${s.userName}" size="100"/></td>
                            </tr>
                            <tr>
                                <td width="70" >First Name</td><td><html:text property="firstname" value="${s.name}" size="100"/></td>
                            </tr>
                            <tr>
                                <td width="70" >Last Name</td><td><html:text property="lastname" value="${s.familyName}" size="100"/></td>
                            </tr>
                            <tr>
                                <td width="70" >Phone</td><td><html:text property="phone" value="${s.phone}" size="100"/></td>
                            </tr>
                            <tr>
                                <td width="70" >Email</td><td><html:text property="email" value="${s.email}" size="100"/></td>
                            </tr>
                            <tr>
                                <td width="70" >Address</td><td><html:text property="address" value="${s.address}" size="100"/></td>
                            </tr>
                            <tr>
                                <td width="70" >Password</td><td><html:text property="password" value="${s.password}" size="100"/></td>
                            </tr>
                            <tr>
                                <td></td><td><html:submit value="update"/></td>
                            </tr>
                            <td>&nbsp;</td>
                        </table>
                    </html:form>
                   </c:forEach>

                <!-- YOUR CODE HERE -->



            </div><!-- end .content -->
        </div><!-- end .container -->
        <div class="footer">
            <p>Copyright 2011&nbsp;TigerSoft</p>
        </div><!-- end .footer -->
    </body>
</html>